cmake_minimum_required(VERSION 3.22)
project(DrawAndGuess)

# C++标准
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED)
# Qt
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_PREFIX_PATH "D:/Qt/5.15.2/mingw81_64/lib/cmake")

# Qt库
find_package(Qt5 COMPONENTS
        Core
        Widgets
        Gui
        Network
        REQUIRED)

add_subdirectory(Client)
add_subdirectory(Server)